package com.example.firstboot.mapper;

import com.example.firstboot.entity.TbDoconduty;
import com.example.firstboot.entity.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbDocondutyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TbDoconduty record);

    int insertSelective(TbDoconduty record);

    TbDoconduty selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbDoconduty record);

    int updateByPrimaryKey(TbDoconduty record);

    int remainingnumByt1(String account);

    int remainingnumByt2(String account);

    int remainingnumByt3(String account);

    int remainingnumByt4(String account);

    int remainingnumByt5(String account);

    int remainingnumByt6(String account);

    void numSourceDec1(@Param("account") String account, @Param("num") int num);
    void numSourceDec2(@Param("account") String account, @Param("num") int num);
    void numSourceDec3(@Param("account") String account, @Param("num") int num);
    void numSourceDec4(@Param("account") String account, @Param("num") int num);
    void numSourceDec5(@Param("account") String account, @Param("num") int num);
    void numSourceDec6(@Param("account") String account, @Param("num") int num);


}